/*! @sentry/browser - modulemetadata 9.12.0 (4eb78e5) | https://github.com/getsentry/sentry-javascript */ !function(n){var o={};const t=globalThis;const c=new Map,f=new Set;function e(n,o){return function(n){if(t._sentryModuleMetadata)for(const o of Object.keys(t._sentryModuleMetadata)){const e=t._sentryModuleMetadata[o];if(f.has(o))continue;f.add(o);const i=n(o);for(const n of i.reverse())if(n.filename){c.set(n.filename,e);break}}}(n),c.get(o)}const i=()=>({name:"ModuleMetadata",setup(n){n.on("beforeEnvelope",(n=>{!function(n,o){const t=n[1];for(const n of t)if(o(n,n[0].type))return!0}(n,((n,o)=>{if("event"===o){const o=Array.isArray(n)?n[1]:void 0;o&&(!function(n){try{n.exception.values.forEach((n=>{if(n.stacktrace)for(const o of n.stacktrace.frames||[])delete o.module_metadata}))}catch(n){}}(o),n[1]=o)}}))})),n.on("applyFrameMetadata",(o=>{if(o.type)return;!function(n,o){try{o.exception.values.forEach((o=>{if(o.stacktrace)for(const t of o.stacktrace.frames||[]){if(!t.filename||t.module_metadata)continue;const o=e(n,t.filename);o&&(t.module_metadata=o)}}))}catch(n){}}(n.getOptions().stackParser,o)}))}});for(var r in o.moduleMetadataIntegration=i,n.Sentry=n.Sentry||{},n.Sentry.Integrations=n.Sentry.Integrations||{},o)Object.prototype.hasOwnProperty.call(o,r)&&(n.Sentry.Integrations[r]=o[r],n.Sentry[r]=o[r])}(window); //# sourceMappingURL=modulemetadata.min.js.map